package com.speedcar.base.exception;

/**
 * 异常类型不好归类时，抛出此通用异常
 * 如异常可以明确归类，不建议使用该异常抛出
 *
 * @author zhangfuzeng
 * @date 2021/12/8
 */
public class SpeedCarCommonException extends SpeedCarBaseException {

    public SpeedCarCommonException(String code, String errorMsg) {
        super(code, errorMsg);
    }

    public SpeedCarCommonException(String code, String errorMsg, Object[] args) {
        super(code, errorMsg, args);
    }

    public SpeedCarCommonException(ErrorCode code) {
        super(code);
    }

    public SpeedCarCommonException(ErrorCode code, Object[] args) {
        super(code, args);
    }

    public SpeedCarCommonException(ErrorCode code, String errorMsg) {
        super(code, errorMsg);
    }

    public SpeedCarCommonException(ErrorCode code, String errorMsg, Object[] args) {
        super(code, errorMsg, args);
    }
}
